home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 11917 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  641 b 

  1. Path: news-m01.ny.us.ibm.net!usenet
  2. From: bbogard@ibm.net
  3. Newsgroups: comp.lang.c++
  4. Subject: Re: extern consts
  5. Date: 17 Mar 1996 01:25:42 GMT
  6. Message-ID: <4ifpmm$2mri@news-s01.ny.us.ibm.net>
  7. References: <4idbcv$ue2@news7.erols.com>
  8. Reply-To: bbogard@ibm.net
  9. NNTP-Posting-Host: slip129-37-223-74.ca.us.ibm.net
  10. X-Newsreader: IBM NewsReader/2 v1.2.5
  11.  
  12. >The above is not possible in C nor in two of the three C++ 
  13. >compilers I have tried it on
  14.  
  15. Well, maybe the two other compilers you tried it on weren't ansi C++ compatible.  Otherwise,
  16. that should work in C and C++.  I don't think it is a C++ only thing.  All constants can be defined
  17. extern.
  18.